package com.pine.sunshineelder.eldertreated.service;

import com.pine.sunshineelder.common.dto.QueryResult;
import com.pine.sunshineelder.common.entity.ElderTreatedEntity;
import com.pine.sunshineelder.eldertreated.ao.ElderTreatedAddAo;
/**
 * 
 * @author 黄天静
 *
 */
public interface ElderTreatedService {
	/**
	 * 新增老人检查信息
	 * 
	 * @param ao
	 * @return
	 * @throws Exception
	 */
	ElderTreatedEntity addElderTreated(ElderTreatedAddAo ao) throws Exception;
	/**
	 * 模糊分页查询老人检查信息
	 * @param id
	 * @throws Exception
	 */
	QueryResult queryBykeyElderTreated(String key,Integer  pageNo,Integer  pageSize) throws Exception;
     /**
      * 通过id查询老人的检查信息
      * @param id
      * @return
      * @throws Exception
      */
	ElderTreatedEntity queryByIdElderTreated(String id)throws Exception;
}
